

import PaginationTable from "@admin/entity/base/PaginationTable"
import { TableColumn } from "~/utils/types"
import Dept from "./Dept"
import Selection from "@admin/entity/base/Selection"
import Index from "@admin/entity/base/Index"
import Operation from "@admin/entity/base/Operation"
import TableOperation from "@admin/entity/base/TableOpertation"
import TableIndex from "@admin/entity/base/TableIndex"
import TableSelection from "@admin/entity/base/TableSelection"
export default class DeptTable extends PaginationTable<Dept> implements Selection<Dept>, Index, Operation {
    operation: TableOperation = {
        label: '操作',
        width: 100
    }
    index: TableIndex = {
        width: 60,
        label: '序号'
    }
    selection: TableSelection = {}
    selectedData: Dept[] = []
    columns: TableColumn<Dept>[] = [
        {
            prop: 'deptId',
            label: '发生'
        },
        {
            prop: 'parentId',
            label: '刚刚大概'
        },
    ]
}